<?php
$this->breadcrumbs=array(
	'Mdl Courses',
);

$this->menu=array(
	array('label'=>'Create mdl_course', 'url'=>array('create')),
	array('label'=>'Manage mdl_course', 'url'=>array('admin')),
);
?>

<h1>Mdl Courses</h1>

<?php
$columnsArray = array('id','name','lastname','tel','email');
$rowsArray = array(
    array(1,'Jose','Rullan','123-123-1234','jose@email.com'),
    array(2,'Fred','Frederick','123-123-1234','fred@email.com'),
    array(3,'Paul','Horstmann','123-123-1234','phor@email.com'),
    array(4,'Kim','Guptha','123-123-1234','kgup@email.com'),
    array(5,'Fred','Frederick','123-123-1234','fred@email.com'),
    array(6,'Querty','Uiop','123-123-1234','querty@email.com'),
    array(7,'Albert','Febensburg','123-123-1234','a@email.com'),
    array(8,'Dan','Sieg','123-123-1234','da@email.com'),
    array(9,'Janice','Breyfogle','123-123-1234','janice@email.com'),
    array(10,'Cornelious','Ape','123-123-1234','potapes@email.com'),    
);
 
$this->widget('application.extensions.htmlTableUi.htmlTableUi',array(
    'collapsed'=>true,
    'enableSort'=>true,
    'title'=>'My Simple HTML Table',
    'subtitle'=>'Rev 1.2.1',
    'columns'=>$columnsArray,
    'rows'=>$rowsArray,
    'footer'=>'Total rows: '.count($rowsArray).' By: José Rullán'
));



 $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
